class Projeto < ActiveRecord::Base

  has_many :funcionario_projeto

  validates :nome, :presence => true, :length => {:minimum => 3}, :uniqueness => true
  
  validates_with DateValidator

  def admin?
    self.admin
  end
end
